package com.anysoft.douyinApi.model.EnterpriseMsgCard;

import java.util.List;

public class MsgCardData {
    //region field
    /**
     * 卡片集合
     * cards
     */
    public List<CardInfo> cards;

    /**
     * 用于下一页请求的cursor
     * cursor
     */
    public long cursor;

    /**
     * 错误码描述
     * description
     */
    public String description;

    /**
     * 错误码
     * error_code
     */
    public long errorCode;

    /**
     * 本页之后是否还有更多数据
     * has_more
     */
    public boolean hasMore;
    //endregion

    //region setter and getter
    public List<CardInfo> getCards() {
        return cards;
    }

    public void setCards(List<CardInfo> cards) {
        this.cards = cards;
    }

    public long getCursor() {
        return cursor;
    }

    public void setCursor(long cursor) {
        this.cursor = cursor;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public long getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(long errorCode) {
        this.errorCode = errorCode;
    }

    public boolean isHasMore() {
        return hasMore;
    }

    public void setHasMore(boolean hasMore) {
        this.hasMore = hasMore;
    }
    //endregion
}
